/* -------------------------------------------------------------- 

   forms.css
   * Sets up some default styling for forms
   * Gives you classes to enhance your forms

   Usage:
   * For text fields, use class .title or .text

-------------------------------------------------------------- */

label { font-weight: bold; margin: 0 5px }


/* Fieldsets */
fieldset    { padding:1.1em; margin: 0 0 1.5em 0; border: 1px solid #ccc; }
legend      { font-weight: bold; font-size:1.2em; }
fieldset.ff { background-color: #fffad3; width: 96% }

/* Text fields */
input.text, input.title   { width: 300px; margin:0.5em 0.5em 0.5em 0; }
input.text                { font-size:1em; }
input.text, input.title, 
input.nomargin            { border:1px solid #bbb; background:#f6f6f6; padding:4px; }
input.text:focus,
input.nomargin,
input.title:focus         { border:1px solid #999; background:#fff; }
input.title               { font-size:1.5em; }
input[file], 
input.checkbox           { margin:0.5em 0.5em 0.5em 0; border: 1px solid #bbb; }
input.nomargin { margin: 0; }

/* Textareas */
textarea            { width: 400px; height: 250px; margin:1em 1em 1em 0; }
textarea            { border:1px solid #bbb; background:#eee; padding:5px; }
textarea:focus      { border:1px solid #999; background:#fff; }

/* Select fields */
select              { font-size:1em; border:1px solid #ccc; background:#f6f6f6; width:200px; margin: 13px 0 10px; }
select:focus        { border:1px solid #999; background:#fff; }

/* Success, error & notice boxes for messages and errors. */
.error,
.notice, 
.success    { padding: .8em; margin-bottom: .1em; margin-top: 1em; border: 2px solid #ddd; }
.error      { background: #FBE3E4; color: #D12F19; border-color: #FBC2C4; }
.notice     { background: #FFF6BF; color: #817134; border-color: #FFD324; }
.success    { background: #E6EFC2; color: #529214; border-color: #C6D880; }
.error a    { color: #D12F19; }
.notice a   { color: #817134; }
.success a  { color: #529214; }
.mensagem   { display:block; width:85%; margin: 0 auto 10px auto; }
#cadastrar label, #cadastroInst label, .quadroMensagem, #cadastroInst label.field,
#editar label, #liberar label {
    width: 170px;
    display: block;
    float: left;
    margin-top: 11px;
    text-align: right;
    margin-right: 3px;
}
#cadastroInst label.field, #editar label.field, #cadastrar label.field {
    margin-top: 15px;
}
table input {
    margin-top: 11px;
    text-align: left;
    margin-right: 3px;
}
table label { clear: both}